package IO流;

import java.io.FileNotFoundException;
import java.io.PrintWriter;

public class 打印输出流PrintWriter {
    public static void main(String[] args) throws FileNotFoundException {
        PrintWriter pw = new PrintWriter("file文件夹\\print2.txt");
        pw.println("一是一，十是十");
        pw.println("十一是十一，四十是四十");
        pw.close();
    }
}
